using UnityEngine;

public class Destask : MonoBehaviour
{
	public Transform target;

	public Transform mTrans;

	private void Start()
	{
		target = plane_smothfollow.instance.mainCam.transform;
		mTrans = base.transform;
	}

	private void Update()
	{
		if (target != null)
		{
			mTrans.LookAt(target);
		}
	}
}
